#!/usr/bin/node

http.createServer((req,res)=>{
  if(req.url !=='/'){
    res.statusCode=404;
    res.setHeader('Content-Type','text/html');
    res.end('<h1>not found</h1>');
    return ;
  }
rep.pipe(process.stdout);
res.end('nice');
).listen(8080);
